# Project: SDL_Config
# Makefile created by Dev-C++ 4.9.9.2

#ported by Kehon to the psp
PSPDIR = $(shell psp-config --psp-prefix)
PSPSDK=$(shell psp-config --pspsdk-path)

TARGET_LIB = libSDL_config.a 

OBJS = SDL_config.o 

INCDIR = 
CFLAGS = -O2 -G0 -Wall 
CXXFLAGS = $(CFLAGS) -fexpensive-optimizations -O3 -fno-exceptions -fno-rtti 
ASFLAGS = $(CFLAGS) 

INCDIR = 
LIBDIR =
LDFLAGS = 
# -L$(psp-config --pspsdk-path)/lib -lc -lpspuser 

LIBS = -lstdc++ -lc 

include $(PSPSDK)/lib/build.mak

install: $(PSP_LIB)
	@echo "Installing SDL_config into $(PSPLIBSDIR)/SDL"
	@mkdir -p $(PSPDIR)/include/SDL $(PSPDIR)/lib
	@cp ./SDL_config_auto_tests.h $(PSPDIR)/include/SDL
	@cp ./SDL_config_lib.h $(PSPDIR)/include/SDL
	@cp ./SDL_config_cfg.h $(PSPDIR)/include/SDL
	@cp libSDL_config.a  $(PSPDIR)/lib
	@echo "Done."
	
